package cn.ffcs.uec.staff.manager.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.outStaff.model.UecOutStaffInfo;
import cn.ffcs.uec.outStaff.vo.UecOutStaffInfomationVo;
import cn.ffcs.uec.staff.dao.UecWorkDao;
import cn.ffcs.uec.staff.manager.UecWorkManager;
import cn.ffcs.uec.staff.model.UecWork;
import cn.ffcs.uec.staffAndOutStaff.vo.StaffAndOutStaff;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecWorkManager")
@Scope("prototype")
public class UecWorkManagerImpl implements UecWorkManager {

	@Resource
	private UecWorkDao uecWorkDao;

	@Override
	public PageInfo queryPageInfoByUecWork(UecWork uecWork, int current,
			int pageSize) {
		return uecWorkDao.queryPageInfoByUecWork(uecWork, current, pageSize);
	}

	@Override
	public List<UecWork> queryPageInfoByUecStaffId(UecOutStaffInfo uecOutStaffInfo) {
		// TODO Auto-generated method stub
		return uecWorkDao.queryPageInfoByUecStaffId(uecOutStaffInfo);
	}
	@Override
	public List<UecWork> queryPageInfoByUecOutAndStaffId(UecOutStaffInfomationVo uecOutStaffInfomationVo) {
		// TODO Auto-generated method stub
		return uecWorkDao.queryPageInfoByUecOutAndStaffId(uecOutStaffInfomationVo);
	}

	@Override
	public List<UecWork> findUecWorkByPkPsndoc(StaffAndOutStaff staffAndOutStaff) {
		// TODO Auto-generated method stub
		return uecWorkDao.findUecWorkByPkPsndoc(staffAndOutStaff);
	}

}
